app.service("sellerService",function($http){

    this.save=function (entity) {

        return $http.post("/seller/save.do",entity);
    }
    this.findPage=function(page,rows,entity){

        return $http.post("/seller/findPage.do?page="+page+"&rows="+rows,entity);
    }

    this.findOne=function (sellerId) {

        return $http.post("/seller/findOne.do?sellerId="+sellerId);

    }
    
    this.updateStatus=function (sellerId,status) {

        return $http.post("/seller/updateStatus.do?sellerId="+sellerId+"&status="+status);
    }


});